Eggs can be obtained by tasks. In some quests, you may find one, two, or even three eggs among the items you've collected. As I progressed through the High Sea Saga game, I discovered that some objectives will always reward you with an egg, while others will only infrequently or rarely.