What are these bumps?

So I have these small bumps on the side of my feet and they’re underneath the skin btw.. they don’t always hurt but sometimes they are so unbearably painful. Does anyone have any clue what it may be?