I've had two males that have gone off food. One for a little over 2 months and one that just ate after nearly 3 months. They are notorious for being picky eaters and I've learned that males can be especially picky.

Few questions. What is your hot spot temp and ambient temp? Do you have the heat controlled by a thermostat or rheostat.

The size of a 10g may be stressing him out. Try putting him into a 6qt tub as it's smaller and can help him feel more secure.

Have you tried a live pinky? Scenting the F/T with chicken broth or tuna can also sometimes helps. Other scents are lizards and toads/frogs. You can also leave the pinky in the enclosure overnight to see if that works.