From my very limited to no education on this, what I've briefly understood, is it's less an issue with the cholesterol itself, and more about how sugar invokes an inflammatory response, triggering damage and then a build up of cholesterol causing blockages.
If you want to dig into this to find out who is right (some people say cholesterol doesn't matter), this is one of the sources I like: https://www.youtube.com/@NutritionMadeSimple This guy so far, I can't tell what his biases are, except that he reads lots of studies, has a skeptical mind, and hones very close to the science. He explains clearly WHY he is saying what he is saying and he shows you the studies. Almost everybody else has some bias, even people who I think are great. This guy so far is unimpeachable from my point of view.
Here are some of his videos on the topic:
https://www.youtube.com/watch?v=hfztSGyBf_s - Cardiac surgeon says: Cholesterol doesn't matter!!?!
https://www.youtube.com/watch?v=ntD4eN-9t-Q - Atherosclerosis | Cholesterol, LDL, HDL, Triglycerides
https://www.youtube.com/watch?v=CxX51n2Z0vc - LOW cholesterol increases death? | New study
https://www.youtube.com/watch?v=a3lHHnOHyr8 - Cholesterol & Risk of Death | New Evidence Emerges
https://www.youtube.com/watch?v=6dCEcsWYL94 - Low carb Cardiologist on Saturated Fat, Cholesterol & ApoB | Dr. Ethan Weiss
Discussion
sugar comes up over and over in health issues