>You gain the ability to peacefully endure, even study, the pain because you're smarter than it?
Kind of, yeah. It's something I've experimented with. The longer I focus on something painful the less it bothers me. It just sort of feels hot. But once I start to do something else with my body that agitates it, it provokes the strong response that takes my attention away immediately. I'm not that quick to take it back, or turn it down, yet. It's the revoking of ALL my attention while I'm trying to do something else makes me feel angry, like anyone being nagged with useless information at relentless volume and frequency. Nothing you can do except give it less of your attention and remember that getting angry is the exact opposite thing. It does take a lot of practice, I think.
>And this ability comes as a result of meditation?
Definitely. Meditation is the practice of training your attention, among other things.
>Can the same thing be achieved by telling someone to "suck it up" if they stub their toe?
It depends. If you said that to a stranger, they'd tell you to go to hell (more or less). If you said it to someone to whom you were the whole world, you'd create a louder pain that would drown it out. But they'd still be suffering.