"It passed directly beneath us"
If vertical separation is within the correct limits it's perfectly normal and can happen often in crowded skies. Usually ATC warns the pilots and asks if they have the other plane in sight, when possible.
https://www.skybrary.aero/index.php/Separation_Standards#Vertical_Separation