Nutrition scientists and doctors are working with the human body and its surrounding environment, an exceedingly complex model. They publish their findings in journals with cautions and caveats and data.
A mainstream journalist with traffic quotas or column inches to fill on a slow news day then skims these journals for the next "X makes you fat" or "Y gives you cancer" headline without bothering to read the fine print.