The phrase does not literally mean that a person’s eyes are actually bigger than the person’s stomach. It basically means that a person has ordered more food than they are actually able to reasonably eat.
For Example:
The phrase is common with children because they may often order more food than they can eat at a restaurant. Here is an example in conversation: “My daughter ordered a lot of food, but her eyes are bigger than her stomach.”