Neck muscle pain, also known as cervical muscle pain or neck strain, can be caused by various factors, including poor posture, muscle tension, overuse, injury, or underlying medical conditions. The anatomy of the neck includes several muscles that can contribute to neck pain when affected.