Because bones have collagen in them, cooking them into a stock breaks collagen down into gelatin! There's nothing wrong with your stock - it's pretty perfect, actually!