The explanation why dofollow and nofollow function this way is always that search engines like google need to have a far more aim way to evaluate exactly where Sites need to rank.
Resource to check for spammy https://echobookmarks.com/story17482051/a-review-of-dofollow-backlinks