It is sadly a mechanic. The resource cost per click gets higher after some clicking thresholds.
At some point I wanted to add some kind of bar measuring how long until the cost goes up but didn't manage in time for the jam, so now suddenly you'll be playing and prices go to hell in a second and consume all your resources... 🤷♀️