It's not defrosting. Likely there is frost on the back wall when it is not cooling.
When you shut it off for two days you defrosted manually. Could be a number of things.
Defrost timer, heater element, or defrost limiter.
Cleaning the condenser coil is always good practice. When it is blocked...