A decision to pull out of UNESCO was the latest move by the Trump administration to cut ties with international organizations.