Betta with no appetite, shy after moving to new tank

Just got a beautiful halfmoon betta. I spent a day or so setting up his tank, cycling out the water, putting conditioner in the tank, filtering, and setting the water heater so the water would be a consistent temp.

But my betta hasn’t eaten since I bought him. He even had uneaten food floating in his cup from petsmart. I keep putting food in the tank but he just wants to hide behind on of the plants. Any tips? I’m a little worried