Uh, I think they stole the Israeli weapon from the soldiers they ambushed.
Yep - that’s an IWI Tavor - Israeli issue