Because if you used that time to work, you could make money.
Most people do not feel like cooking a meal after a long day's work, and are happy to pay a few extra dollars.
If they purchase poor quality, unhealthy food like McDonalds, it will almost certainly be more expensive than a healthier...