Turkey seems to be trying to balance its desire for closer ties with its Arab neighbors with its allegiance to NATO and its seeming support for Hamas.