Dirt and debris in your case can prevent you from factory resetting your AirPods Pro (or AirPods). Learn how to safely clean your AirPods here. If that doesn't work, check out these AirPods troubleshooting tips.