This by itself $76.8 billion in committed aid and does not include all U.S. spending related to the war. And newer appropriations made just after Jan 2023
So ? You are looking at one sub-component of the aid in flight in 2022 encapsulated in one bill. Your link itself takes the upper value of the allocated aid: "The nation has allocated $114.9 billion in aid over the last year, contained in four separate bills".
Please do that for border security in the U.S. Like Ukraine, there is utterly NO need to transfer all the money in ONE big bang - can do the same in chunks. As long as the "border aid" is allocated in chunks - we can have better drug scanners at ports, more personnel and patrols, more funds to care for actual migrants (as opposed to drug camels), investigative teams to track down drug-routes and personnel involved, etc
Ukraine received about $7b in 2022.
$12b does not look like a tiny fraction of $7b.