Depends on the country, but it could be that this is intentional - having those lectures at 08:00 raises the difficulty bar, helping to fail more students, which is exactly what the class is for in the first place.
In my university time, the math class that most people fail would also have lectures at 08:00[0]. It was also widely known that the class is just about getting us up to speed with calculus, as it is to filter out a good chunk of the year. My understanding, shared by fellow students and even faculty members, is that universities in Poland (and I suppose most of EU) tend to admit ~1.5-2x the number of students they can handle, and use first two semesters to filter out tat ~0.5-1x excess. In STEM courses, those intro math classes were understood to be those filtering classes.
--
[0] - What's worse, on the first lecture, the professor wisely noticed that some of us will be hitting rush-hour traffic trying to get to the lecture on time, and suggested that... we should all start 15 minutes earlier, so we can avoid the traffic by waking up and traveling 15 minutes earlier... I think I attended one or two more lectures of that professor, at which I fell asleep few minutes in, and eventually decided it's just pointless waste of life.
I, on the other hand, went to a local branch of a state college. So many classes were only available in one time slot, which meant that I had both classes that started at 8am and classes that started at 6pm.
Attendance wasn't always optional.
...so I tried again next quarter. This time, it was Quantum Mechanics A--I had previously tried skipping into C--so the professor probably just thought I couldn't handle the material without the stuff that came in A/B, and realized I was in "the wrong one". Well, it happened again.
I tried a third time. This time, showing up to B, the professor must have figured out what was happening and I kind of remember her laughing at me a bit. When it happened a third time I gave up, stopped ever trying to do early classes, and, 20+ years later, give students the advice you were given ;P.
1. https://www.veriff.com/blog/fake-id-statistics
2. https://www.thelantern.com/projects/2021/04/28/fake-ids-join...