It wasn't explained very well. The Formecs did start the war, but they could never commicate with humans. They use telepathy. After the first two attacks the queen realized that humans were sentient and she backed off. Unfortunately the humans had no way of knowing and they wouldn't have believed it anyway. She knew Ender was coming for her and that she would surely die.