It makes sense, the restaurant makes less cash with online orders. Why wouldn’t they try to save whatever they can?
I wonder what portion of this is from biases caring for less about anonymous online orders. Seeing a human face might prompt an employee to stuff more chips or fries in that to go bag.