I remember reading somewhere that Whoopi Goldberg headcanoned Guinan and Q as having had a relationship with Q and that’s why they’re so antagonistic of each other which makes the first scene in which we see them interact so much funnier like 

imagine you and your ex see each other and immediately do this at each other