This is called feedback and is similar to what happens if you put live microphone near a speaker connected to it.
Microphone on one phone picks up a sound, then the other phone plays that sound and the first phone picks it up again and amplifies it in an continuous loop ultimately causing a high pitched noise.
Latest Answers