Except that section 174 was fine until Republicans under Trump controlled every aspect of congress and passed the Tax Cuts and Jobs Act (TCJA) in 2017.
That act changed section 174 in this stupid and extremely detrimental way.
So no. It was exactly "one party" (the Republican party) whose fault this is.