https://www.webmd.com/cholesterol-management/sugar-and-cholesterol
Low-density lipoprotein cholesterol (LDL). When you have high levels of this "bad" cholesterol, the waxy, fat-like substance can build up in the walls of your arteries and can clog it. This raises your chances for a heart attack or a stroke.
High-density lipoprotein cholesterol (HDL). This is the "good" cholesterol. It picks up all the extra LDL in your bloodstream, takes it back to the liver, which then removes it from your body. HDL also lowers your chances of heart disease.
When you eat too much sugar, your liver makes more LDL while lowering the amount of HDL in your body.
The extra calories from a sugary diet also leads to more of something called triglycerides, a type of blood fat that plays a role in your cholesterol health. It forms when you eat more calories than your body needs to burn for energy.