When and how bone marrow first originated in the limbs of early four-legged animals is disputed in evolutionary biology. With the help of powerful X-ray technology, an international research team, led by Uppsala University, has now discovered that this evolutionary adaptation most likely took place after the first tetrapods stepped ashore.
source https://phys.org/news/2021-03-early-evolution-limb-bone-marrow.html