That's probably because you're paying the feel-good tax, and not a true accounting of the costs. Just like how oat milk is more expensive than cow's milk at retail, even though oat milk is almost free to produce relative to cow milk.
Isn't that due to scale of production? It does not take that much oat to make the milk. And cow milk gets bad fast and should be alot more expensive than cow milk really.