I've had this happen before as well, but with Aer Lingus - not Ryanair.
I was booking a flight from Cork to Rome and the price I got was cheaper by 10euro if I booked them separately. Found out the same way too - just checking the flight prices singly, then decided on a certain flight and went...