If they were both IFR, and ATC did what is required, then they would have been given to each other as traffic. They are not separated in Class G however, and possibly/probably had coms with each other on the CTAF to arrange their own separation. What happened after that will hopefully become clear in an investigation.