If you're profitable at a unit economics level, and your CaC stays relativly stable as you scale marketing efforts, it's fairly logical to sink your would be profits into that CaC and associated costs ( i.e. you might have engineering costs to scale a platform ).
Now obviously if you're bootstrapped, you're managing cashflow, and you might keep a bit for a rainy day, but if you have several years runway of someone elses money, you want to grow the entity. You don't give away equity to end up with less money. You need to grow the pie.
Of course, there's still a lot of faulty logic and bs. CEOs be like, I'll just get rid of dev and be profitable. Alright mate.