theres most likely electrical noise from either the contactor coils or a ground issue.
I wired these across my coils when I used the contactors your using
https://www.auberins.com/index.php?main_page=product_info&cPath=7_35&products_id=238
also make sure the stainless shielding on your rtd cables (if your using that type of cable) is only grounded at one end. otherwise you can create a ground loop which also causes the spikes when things are turned on or off.
Also... remember when I said I had electrical noise when using that red relay board your using?... you might have to replace it if the other stuff doesnt completely resolve it. I did. I bought a "sunfounder" brand equivalent and the last of issue cleared right up.
I only used one of the one wire sensors in my homebrewing panel and it was certainly the most sensitive to the noise by far. I had the issue with my rtds as well but not with my thermister sensors..
In my other panel at brewery I had a lot of trouble with my rtds doing this and thats where I tried the above steps.
Im building my fermenter control panel now for the brewery and you've just reminded me to be proactive about noise insulation.