Contactor cycling rapidly when car fully charged

I noticed yesterday that the the car had stopped charging (reached its preset limit) while the EV charger was set to 6A but the charger contactor was cycling on and off (making loud noises.) No current flowed during this time but it’s clearly undesirable for the contactor to be cycling like that.

Any ideas on what could be causing this or how to stop it?