you should probably check your water in your radiatior and if it is full you might need to replace the cap. If neither of thise are the problem it may be your heater core which sucks or something electrical.
Air in the water system.
It doesn't really blow it out it just warms the cold air.
heater core possibly plugged and leaking
No! Thermostat.
The front expansion valve is clogged.
Could be a bad thermostat.
Your heater will blow cold air only.
Low coolant in the system. Defective heater control valve. Clogged heater core.
engine not warm, low coolant, or stuck thermostat
you would have to see a mechanic about that problem
One of the reasons a 2000 Jeep Cherokee heater would randomly blow cold air and then hot air and then cold might be that there is a problem with the hot/cold duct. The air or a vent might be inadvertently blowing periodically.
heater switch needs replaced