Please welcome Eyoyo Underwater Fishing Cameras.https://amzn.to/3siEgXn
Might need a filter on it from the tank
Disassemble and clean everything inside and out,mine needs it every other year at least.
i had this happen and it was caused buy dirt, take a Q tip and clean pilot light bore with alchol.
did you try another tank ...
clean the thermocouple with 0000 steel wool.