The current residency controversy tracks back to a deal Trump cut in 1993 when his finances were foundering, and the cost of maintaining Mar-a-Lago was soaring into the multimillions each year.
https://www.vanityfair.com/news/2020/12/donald-trump-mar-a-lago-neighbors