You might want to contact a vet and tell them whats going on. The only thing I could think of would be a foreign object.
Unless a broken rib might stick out like you described? I would still call a vet especially if you notice it again or she starts to refuse food.
Hope she's ok.