In this world, nothing is as firm as a rock. Thus, to mean hard and strong support, the phrase uses ‘rock.’ For example: You are always there to protect me and my girl, you’re my rock.