Calling it a trap implies malicious intention. Instead reality is that people are just trying to accomplish a good thing because it is a good thing. That Republicans may decide to be evil and shoot themselves in the foot with regressive policy doesn’t make doing good things a trap.
Oh if this were how political policies were created. Especially in the final year of a presidency they create an array of things that the “other guy” will likely repeal due to misalignment with their political ideology in their implementation if not their goal. Then they can call “gotcha” on the other guy if their opponent wins. Sometimes they do stuff like start messy military operations as they leave the White House, too. See Somalia and GB Sr