Iraq 's central government in Baghdad has criticized the Iranian artillery strikes and warned they could harm relations between the two neighbors .