An intercostal muscle strain happens when you pull or partially tear the muscles between your ribs. You can do this by lifting, twisting, or being hit in the ribcage — but healing can take a while.