aseprite is a program that's cheap on steam that's entirely built for creating pixel art so all the features are tailored towards it, includes animation tools as well
Photoshop or whatever equivalents can work. Aseprite is my preference, it's like 20 bucks on steam, but I'm pretty sure you can grab the source code and build it yourself for free (dont quote me on that tho i may be wrong)