Sorry but your perception of laws of thermodynamics is wrong. No one needs to eat the same amount of calories every day - your metabolism does not simply reset at midnight. It's a difference in energy consumption vs. expenditure that builds in a longer period of time that affects energy balance (positive or negative) and finally your weight change.
Eating less doesn't interfere with having diabetes or hypothyroidism. And 90% of people don't have these conditions.