There are two sets of neurons: those that promote feeding and slow metabolic rate, and those that suppress feeding and increase metabolic rate. The former class of neurons is GABAergic (inhibitory in neuroscience) and the latter is glutaminergic (stimulatory). Generally in animal experiments, the gabaergic neurons that drive feeding and conserve stored energy outnumber the glutaminergic neurons by a great deal, and over the lifespan of an organism, they increase in number.
Its been noted in some animal models that weight loss interventions are not permanent because they lead to alterations in this circuit to further promote weight gain and energy conservation. This may be why most humans also regain weight after losing it. If you think about it, it makes sense for most control loops in the body to "fail safe", IE, its much preferrable to gain weight than starve to death. This circuit thus fights to preserve fat mass.
Some "food for thought"
https://www.ucsf.edu/news/2017/07/407571/brains-immune-cells...
https://www.ucsf.edu/news/2015/02/123466/ucsf-researchers-re...