A newborn baby has about 300 bones. An adult has 206. Nobody loses bones with age, so where do the extra ones go?
The answer is that many of a baby's bones are not finished yet. They start as separate pieces joined by soft cartilage, and over the years those pieces fuse together into single bones.
The skull is a good example. A baby's skull is made of several plates with gaps between them, called fontanelles. The gaps let the head squeeze through the birth canal and leave room for the brain to grow quickly. They close over the first year or two.
The bones at the base of the spine also fuse. Several small vertebrae at the bottom join to form the sacrum, and a few more form the tailbone. Hip bones and other long bones also grow from separate parts that join in the teenage years.
The exact number at birth varies a little depending on how you count the still-separate pieces, which is why you will see figures like 270 to 300.
So the skeleton does not shrink, it simplifies. Fewer bones, each one stronger.