Sugar-sweetened beverage intake and serum testosterone levels in adult males 20–39 years old in the United States - PMC
This population-based study was designed to investigate whether consumption of sugar-sweetened beverages (SSB) is associated with lower serum total testosterone concentration in men 20–39 years old. All data for this study were retrieved from the ...

Result: Multivariate logistic regression revealed the odds of low testosterone was significantly greater with increasing Sugar-Sweetened Beverage (SSB) consumption. Conclusion: SSB consumption is significantly associated with low serum testosterone in men 20–39 years old in the United States.

Men experience an abrupt decrease in testosterone levels after sugar intake, study finds
Researchers from Massachusetts General Hospital in Boston have found that glucose ingestion…

A recent study suggests that another mechanism may have a direct impact on testosterone levels: sugar consumption. A study with 74 men between the ages of 19-34 looked at the impact of 75g of glucose on serum (blood) total and free testosterone levels in men with varying glucose tolerance. Glucose ingestion was associated with a 25% decrease in mean testosterone levels regardless of glucose tolerance or BMI, and remained suppressed for 120 minutes. What is 75g of glucose equivalent to in real food terms? A can of Coca Cola has 75g, a McDonald’s M&M McFlurry has 84.8g, a cup of low-fat fruit yogurt has 46.7g, a Clif Z bar has 30g and a pumpkin spice latte (grande) has 50g of sugar. It’s easy to see how regular sugar consumption alone can add up to perpetually suppressed testosterone levels in men.
Absolute fakkitry from that "research" -- consumption of sugar has a short-term decrease in testosterone, as it affects insulin sensitivity which impacts cortisol, the antithesis to testosterone. This is evident from the consumption of simple carbs - of which sugar and artificial sweeteners found in Pepsi/Cola are one.