Cooking requires both time and resources. Most healthy ingredients have a limited shelf life and are bulkier (low calorie density) so you need to do your shopping more often. You then need to store them so they don't spoil too quickly (which is harder if you have a small kitchen and no pantry). Then you need to prepare meals in advance and cook them, both of which requires not only dedicated time but also time available on a somewhat predictable schedule, not to mention making meal plans in the first place to organize your shopping, which not only takes time but also mental energy.
Compare this to simply stocking up on cheap meals and throwing one in the microwave for a few minutes at dinner time.