there is a spectrum imo - a difference between needless killing and transforming energy - a consumed plant becomes you, a consumed animal becomes you. We think like this because we believe we are causing harm, which is why many opt for vegan or no harm lifestyles. Its funny you mention fungi, because fungi literally eat death to produce life. Also, eating is literally not necessary, and you scrape the divine realms by abstaining from consumption in general. In our plane of existence there has to be free will, there has to be choice, its what keeps balance. I believe whats optimal in this world is minimizing harm, caring for animals, and consuming only what's necessary to the best of your ability - and when you practice that lifestyle for a bit you change mentally and physically.