The story
The idea comes out of Buddhist karma: some meetings were on the books long before either of you showed up. Mandarin can even split it — having yuan but no fen means fated to meet, not fated to stay. English borrows kismet, or settles for fate.