Which is exactly what happened. They were trying to stuff an amendment into the bill and bypass the budgetary process.
That was, more or less, the procedural problem with these provisions (as distinguished from the policy problem which I addressed above) and why Senate Republicans were able to defeat them.
This wasn't about an amendment though. These provisions were already in the larger bill - i.e., they were already in the omnibus amendment in the form of a substitute which became the so-called Inflation Reduction Act. Rather, this vote was the result of a challenge by Senate Republicans to these provisions being included in the bill.
The Senate Parliamentarian had ruled they were extraneous provisions, I assume because they didn't make a change in government revenue or outlays. This bill was being passed through the reconciliation process, meaning it didn't need 60 votes to get past a filibuster, so it could only include certain kinds of provisions. The vote was, in effect, on whether the requirement to change revenue or outlays would be waived such that these provisions could remain in the bill.