I wouldn't think the problem was that hard to solve if there were tighter guidelines around how phone numbers were allocated and a simple reliable method of reporting fraud to a central agency.
Though I'm not sure we know the real reason scams/unsolicited marketing now seem to make up the majority of all phone calls - it certainly wasn't the case 20 years ago.