Pentagon official who questioned Ukraine aid freeze resigns