Spitting can mean a malfunctioning nozzle, but it also might be a bit clogged; if dealing with a can of paint ... with a ...
But nothing upsets a spray paint project like dealing with clogged nozzles ... always clean the nozzle in warm, soapy water ...