the mass of confusion was overwhelming as two of the new mexican companies supporting the artillery abandoned their positions , all the while two commanders were killed by simultaneously shooting each other .