Seemed to me for some years that exercises change the alignment of the ribs and causes some to stick out more.
Ab workouts pull the bottom edge of the ribs in, and folks who are both thin and out of shape have rib-edges that stick out.
Among other muscles, dips exercise a muscle under the pects that connects certain ribs to the collarbone.
Bone alignment is one reason why exercises around a joint need to be balanced. Assymetrical exercise can pull the joints out of whack, which caused me to limp around for weeks with my knees popping after concentrating only on hamstrings for a few sessions.
But except for stretching the intercostals by pullovers, I don't know of any way to balance or offset the stress on the ribs from doing dips.