 When we were descending, there was another plane leaving the runway, so we had to divert and go around Syracuse. The jets coming less than 1,000 feet vertically from each other. The pilot asking controllers who was cleared for the runway. Wait, who's cleared to take off on QA?