When a nerve in the ball of the foot becomes pinched, this causes it to swell and become painful. The painful, swollen nerve is called a neuroma.