BHD Flyer - the reason you were separated as such is because both NI and ROI need to be checked by Special Branch for counter terrorist reasons, both departing and arriving. Once you've passed the podium and the CCTV, you merge again with domestic departures.
Arriving, NI and ROI are separated for customs reasons, but not for counter terrorism or immigration reasons.