Those who first reported being overweight at the age of 20 were around 60-80 per cent more likely to develop these cancers in later life, compared to those who maintained a healthy weight throughout life.
https://www.longroom.com/discussion/329980/lifetime-weight-gain-linked-to-esophageal-and-stomach-cancers
Lifetime weight gain linked to esophageal and stomach cancers