This is essentially a gender-affirming care version of the Hyde Amendment, which outlawed the use of Medicaid funds for abortion care, and over time sprawled out so that similar policies apply to every federally funded health program. Fortunately, neither of these bills are likely to pass the Senate.
Source