i was thinking they've known each other for a very long time and had a complicated relationship growing up, mostly not liking one another very much and a lot of bickering all the time, until the sudden death of a mutual friend (or his girlfriend/her best friend, her boyfriend/his best friend) threw them into an unexpected place of having to rely on one another a lot more in order to get through it. details can be worked out, of course!