It's a tangled web, but ISIS gets weapons from the US. You can read about it here:
But that's not unusual. We armed Hitler, Saddam, al-Qaeda, and many of our "enemies".
It's the American way - befriend them, arm them, cash the checks, revile them, and kill them.