A blow to the rib cage can cause either a fracture or bruising to the membrane that covers the bone (periosteum). Both can be very painful, and it is very often hard to distinguish the difference, even with a X-ray.