It’s to do with how each particular make of freezer is meant to work; a lot of brands monitor the fridge temperature and have the freezer set to be “like that but colder”. This means if the fridge is at the right temperature without running at all, the freezer doesn’t run and returns to ambient as well. Other models (eg. Beko, IIRC) monitor the freezer temperature, so both halves will either work fine or you’ll end up with a freezing fridge.
It’ll be this.
The thermostat is in the fridge. The action of keeping the fridge cool is good enough that the freezer section also gets a boost of cold & stuff stays frozen.
But if the ambient is close to, or below the fridge set temperature for any length of time, then the thermostat won’t trigger & the freezer will defrost.
I had this when we moved to our current house – there’s no space in the kitchen for a fridge/freezer, so we stuck it in the garage & bought an under-counter fridge for the kitchen – all good, I thought. It was fine until the winter when the freezer started to regularly defrost.
I ended up running a 20W bulb into the fridge compartment on a timer. It would come on every few hours for 20 mins of so & put enough energy into the fridge compartment for the thermostat to kick in.
Only needed to do it when the weather was properly cold for sustained periods.
As mentioned above, there are very few fridge/freezers that are rated to work in garages etc. Beko are one of them that are.