Pain and injury in the gastrocnemius muscles, which are located in the calf, can be caused by various factors, including overuse, strain, or trauma. The gastrocnemius is responsible for flexing the ankle and assisting in propelling the body during activities like walking and running.