A spine joint can get stuck in a few ways. A sudden, awkward load can stretch the thin bag around it hard. Sitting bent for a long time slowly stretches the soft parts. Stress can keep neck and shoulder muscles tight.
Once the muscles guard the joint, they can keep guarding after the pain goes. The tissue around it gets short. So it can stay stiff.
No one can say which of these happened in your case. It is no one's fault.
Ask your chiropractor: what did you find, and what can I do at home?