It's not really weird, your cat was 'protecting it's territory' and saw the other cat as an 'intruder'. You can't really make them get along, but over time they might get used to each other if they're introduced slowly. If you put your cat or your friends cat in a separate room with the door...