Harvard Health Publications suggests memory foam neck pillows like the Peacepillow Connect to enable correct sleep posture, avoiding twisting of the spine which reduces circulation to the muscles.
Impaired circulation causes fatigue leading to spasm.

This manifests as a sore, stiff painful neck and back. Read more: