He may not be fed pellets at the store where you got him hence he doesn't like them. But relax, it's nothing unusual for bettas to refuse food when you first get them. He will eat and like Splish said, if he doesn't eat get him bloodworms. I haven't found a betta yet that doesn't like them!