it turned out ian thomas , ali 's secret boyfriend-who hanna and her other best friends spencer hastings , aria montgomery , and emily fields had all crushed on when he was a senior and they were seventh graders-had murdered ali the night of the girls ' end-of-seventh-grade sleepover .