Authorities are investigating an incident where Border Patrol agents came under fire by Mexican gunmen just east of Hidalgo.