The U.S. and Turkey have been allies for more than six decades, but in recent years their relationship has been repeatedly strained by disputes. A Turkish military offensive against a Syrian Kurdish militia allied with the U.S. has created the latest discord. Other roots of friction include a U.S. prosecution of one of Turkey’s largest banks and Ankara’s purchase of a missile-defense system from Russia.