If you have this trouble it’s necessary begin thinking in how you should remove your tree. If you do not move quickly, you are taking a risk. Branches will begin to fall down and your house can suffer any damages. If you want to know the worst scenario, the tree can fall in the middle of a hard storm.
You can examine the growing of your palm tree. If you see it’s leaning since young times maybe it has roots issues. In the most of times this trouble cannot be corrected. Then the best advice is to remove that tree when is starting to lean in direction to your house.