There are a few different possibilities here. First the muscles between the ribs, called the intercostal muscles, can indeed become sore and strained. Typically this occurs with heavy lifting exercises or with other recent vigorous physical activity.