A leaning tree is not automatically a dangerous one
Plenty of trees have leaned for decades and are perfectly sound. What matters is whether the lean is new, whether the root plate has lifted, and what sits underneath it. We can only assess on site, not from a photograph.