The heater core is blocked, or a heater hose has collapsed, keeping hot engine coolant from getting to the core. The "blend air" door may be stuck in the open position, keeping warm air from circulating, and dumping in cold outside air. I am assuming that engine coolant and water pump is good.
It doesn't really blow it out it just warms the cold air.
Low on coolant. Stuck open thermostat. Plugged heater core. Faulty temp blend door.
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.
Assuming you want it to blow hot air, you may be low on coolant or have a stuck open thermostat or a plugged heater core or you have a faulty temperature blend door actuator.
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.