It looks like a problem in your neck vertebra aliments with pinching nerves branches and muscle spasms. It can be after repeated movements, exercises’, inconvenient pillow. Other factors that can lead to it are lack of the vitamins D, B-12, magnesium
changes (BCP), body’s acidity. It cause repair deficit, so your body cannot handle repetitive movements.
and chiropractic manipulation and healthy diet can be helpful
I wish you get well.