Trabecular bone formation involves a complex process called ossification. There are two types of ossification: intramembranous and endochondral. Trabecular bone primarily forms through endochondral ossification, where a cartilage model is gradually replaced by bone tissue. This process is crucial during the development of long bones and in the repair of bone fractures.