Purging randomly during layer

I plugged in my AMS lite for the first time, and since I did that it’s been a nightmare. between the AMS that keep saying the filament is stuck, when it isn’t
and now this. So this is:
I launch a print, it starts fine, but then randomly during a layer it will stop, go “heating” and then “purging old filament” like I changed filament except I didn’t…

I don’t understand what’s going on, it’s wasting so much filament, I tried to unload and reload filament, no dice, it keeps doing it.

Anyone has any idea what’s happening?