Sorry about your fish
Do you have him in a heated tank? How big is it?
He still might be in shock from his new surroundings but keep a good watch on him.
I have a betta who behaves like that normally, he spends a lot of time on the bottom under the leaves of a plant. He still swims around a lot and is very lively but that's just his favorite spot to be.