US stocks closed week in red amid clashes in Middle East