We’ve probably always foraged eggs from birds from before we were even modern humans.
Eggs are an easy source of protein and calories that don’t take much of a fight.
Chances are the unfertilized egg (what we use today, generally,) probably got started being used when they domesticated chickens sometime around 5,000 BCE (iirc,) in south east Asia (where chickens were first domesticated.)
Egyptians, Greeks, Roman’s all had robust poultry. (even Mars loved him some fried chicken,)
For most of our history, we would have used everything we could from livestock, so it would have been a matter of time.
That still doesn’t explain how chocolate eggs come out of a rabbit’s ass…
Do you really want to know?
It’s simple. You tie up the rabbit so it can’t move, then you force feed it chocolate.
Then you force it to shit into a mold. while it’s still warm it becomes egg-shaped.
(actually I never understood that one either, I’m just making shit up here. though. not the cruelest thing we’ve ever done for food.)
Because pre-historic Filipinos looked at their bowl of foraged berries, tubers, leaves, and meat and said, “I bet a fried egg on this would be tits.”
The chicken is unique in that it wants to keep laying eggs until it fills its nest up, where other birds will just lay a set number. This means if you take the egg every day, you suddenly have an egg machine on your hands. Eggs being very nutritious, this is very advantageous. This made it one of the earlier domesticated animals we have evidence for.
If memory serves anyway.
Early humans ate a lot of things.
The ones that ate non-food things died.
The ones that ate eggs lived and passed on their genes.
Eggs are a typical foraging food. Our ancestors likely grabbed any eggs they could find when they could find them. Eventually we started farming in SE Asia and the ancestors of the chicken hung out near the plentiful feedstock of rice fields and made their nests nearby. Over time they got used to humans and we kept taking their eggs, as we had done when we found their eggs in the wild. Around 3,000 years ago we had the chicken, an easy to care for food pooping source of meat that we had bred to poop food regardless of time of year. The bird later spread all over the planet.
Fastfoward to more recent times and we have selectively bred and drugged up a bird that reliably poops food every day and can yield the maximum amount of meat possible.