No the US has not been backing and arming Hamas. They have, off and on as you say, been arming Fatah, Hamas' rivals in Palestine. Stupid, but that's what we've been doing. Some of those small arms probably have made their way to Hamas, but that's Fatah and Israel's problem, not ours.