RE: Then why did they write it?....................
It’s obvious — POSTURING for their rabid base.
Normally, members of a minority party publicly fume when their bills are NOT brought to a vote by the leadership of the majority. But Kevin McCarthy and Paul Ryan perhaps inspired by the way President Trump does things contrary to normal practice did the unexpected and allowed Democrats to metaphorically put up or shut up. Of course, actually shutting up in the literal sense is never an option when it comes to Trump haters, so instead they fulminate that being required to take a position on their own bill is unfair or something.
Trump should be sending them clown suits for their group picture. Better still, Tweet the picture for the world to see.
This sort of smack down goes way back.
Remember when Dick Nixon’s administration ended Franklin Delano Roosevelt’s draft?
Democrats are still seething at everyone involved in taking the draft issue away from them.
In addition, by forcing a floor vote they don’t get to hijack committee hearings and bring in busloads of “victims” in front of the cameras.