When Turkish ground forces delivered a lightning strike on Islamic State fighters in Syria last week, the Pentagon hailed what it described as close U.S.-Turkish coordination.

But behind the scenes, cooperation between the North Atlantic Treaty Organization partners broke down at senior levels, according to officials on both sides. The two countries weren’t as aligned on the operation as their public statements indicated.

While...