Prints failing, extrusion goes bad?

I have a P1S with AMS that has been working great for 4 months or so. Then last week in middle of a print it said it finished but the tallest item just was not complete. I tried again and it started ok but then failed sooner.

I did all the clog clearing it seemed ok. tried again and then failed. same problem. I tried clearing clog a few times, then taking out hotend and extruder. I didnt take the extruder apart yet because it always seems like its all set. and clear. Then i swapped out the hot end. It worked for a whole first bench. Then I went back to my print jobs and it failed again and stringing some strings. but I stoped the print and tried to extrude and it did a little inconsistent and is clicking. the clicking was occasional before when it was jammed.

I only had a couple clogs the entire time up until now. What to do next?

Work through this and see if it helps.
Printer Clogs and troubleshooting

Filament Sensor Test