system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5: How does 'getting used' to spicy food actually work?

Is it purely psychological? How does it work?

EDIT: Thanks for the informed responses! Buuut some of you aren't really reading the question... I know how to build up tolerance to spicy food, I've lived in SE Asia my whole life (spices galore); my question concerns the science behind it.

EDIT 2: Grammar. Sorry. I posted this whilst eating Tom Yam. Should be 'getting used to'. Also, new to reddit, and ask science wasn't the first sub that came to mind. (This was kind of a spur of the moment post).
gpt
When you repeated eat spicy food you're over stimulating the receptors that sense heat.  The receptors deactivate themselves so they can better handle the heat.  It's kind of like having an annoying younger brother who you eventually just decide to start ignoring instead of dealing with.