Why do people face bone marrow transplant rejection?

I want to understand more about how bone marrow transplants fail