Is this a temperature issue or a Z issue?

I leveled the bed before printing but this was the result. Two of the 4 copies in this group printed fine but two had these issues.
20221101_1313051

That looks like there’s something wrong with the Z axis movement, or a partial clog in the hotend.

I would say partial clog, maybe just wrong retraction setting or extruder skipping, closely check your extruder behaviour during printing…