That they were grants instead of any other instrument appears to be a Biden Commerce decision, not a congressional one.
I’m no lawyer and could certainly be missing something i the law that says it has to be grants but from what I see it looks like figuring out what to do the the money was pretty much delegated to dept of commerce with limited direction about eligibility and review criteria.