From the Buddhist point of view, there are four forms of life, viviparous, oviparous, wet and metaplasia. Eggs are oviparous and represent the existence of a life. Eating an egg is equivalent to killing. Different world views, Buddhism is atheism, Taoism is theism, Buddhism thinks that Buddha is just higher than people in ideological realm, and will be born and die, while Taoism thinks that God is an immortal with super powers.
The theoretical basis for Buddhism to advocate vegetarianism is not to kill life, but to show compassion for all beings. Eggs are life embryos, especially some sexual eggs, and eating them also involves killing. Of course, many eggs from chicken farms now are inanimate and should not belong to the category of killing. If you really can't quit, you can use egg yolk as a transition.
The origin of Buddhism vegetarianism
When Buddhism is mentioned, it is naturally associated with vegetarianism. For China people, the so-called "monk" is a "vegetarian", which is a matter of course. However, whether Buddhist monks must be vegetarians does not seem to be the case in fact; Apart from Buddhism in China, other religions, such as Tibetan Buddhism, Southern Buddhism in Southeast Asia and Japanese Buddhism, are not taboo to eat meat.
In fact, even in China Buddhism, it was nearly 500 years after Buddhism was introduced to China, and the key figure who directed this epoch-making event in Buddhist history was Liang Wudi in the Northern and Southern Dynasties. Liang Wudi couldn't bear to eat the flesh of all living beings. He was very moved after reading it and made a vow to eat vegetarian food. He was the great protector of Buddhism and promoted "vegetarian diet" with the respect of emperors, which soon influenced the whole monk group.