Weird print failure

Hey everyone. My P2S has been printing great, even did a 20 hour print, no problem at all. Today I tried to print a simple model, 4 hours, and I was 27 minutes away from the end and had this failure. I say failure, but the printer actually kept printing.

The rest of the print was coming out great. Please see pictures below.

This is basic pla, nothing special. As you can see, the majority of the print went fine, until those last layers. What should I look at in terms of a failure point? Thanks!

Maybe the filament was moist but outer layers of spool was ok?

I have had a partial clog before that looked similar. So maybe you need to give your nozzle a good cleaning?

I will admit that the filament was probably moist. I did an extrusion and heard the popping and see the bubbles in the filament. But why would the print get to the end and decide to fail if it was due to moist filament.