Probably just spring fever. My 2 adult male corns are very restless & not eating too. I also have 2 adult females here as well, which they can just forget about ever meeting & mating with. All my corn snakes are elderly (16 years old!) & I'm not looking for more snakes anyway.
Just make sure to rule out other issues (wrong temps etc).