It is entirely possible the lawmakers who put together GDPR were bad at their jobs and didn't consider better technical solutions.
technical solutions are chosen by companies to have as much dark patterns as possible to force you to consent
companies that want to sell user data are bad guys trying to make gdpr look bad