Over time, this can result in a painful strain. But even one random, violent cough or sneeze can cause a pulled rib muscle. Rarely, severe coughing can fracture the ribs, he adds. The pain may be ...