Bain family of five, shot at dawn by a deranged family member in Dunedin. David Gray, the lone gunman who shot and killed 13 neighbors in Aramoana. They were New Zealand killings, in the New Zealand manner — seething tensions suddenly unleashed, a mad dog gone wrong. They had recognizable national characteristics.

But the mosque killings were something new, something off the chart. This was organized, planned, slaughter on a large scale of the innocent, carried out by a killer or killers with a head full of militant trash — the usual rubbish of white supremacy, with its fear and loathing of immigrants.

But the terrorists weren’t hitting out at some separate, isolated community. Muslims in New Zealand are part of the fabric of everyday life. Prime Minister Jacinda Ardern is at her best when she addresses issues of national identity. She noted in her news conference held to announce the tragedy that many of the victims of the shooting were migrants. “They have chosen to make New Zealand their home and it is their home,” she said. “They are us.” The terrorists killed New Zealanders.

The attack, I confess, feels imported: the apparent killer who is Australian, the references in what appears to be his so-called manifesto to right-wing provocateurs and white supremacists in America and elsewhere. But it would be false and gross to describe this as some kind of end of innocence or solely a foreign import. Life in New Zealand is lovely, but it also comes with deep social problems brought on by poverty and homelessness, constant race-based tensions and, yes, lingering resentment of migrants from Asia, Africa and the Middle East. Child abuse is a recurring national shame. Violence against women is considered so rife that New Zealand is routinely described as possessing a rape culture. All that and worse in our beautiful archipelago at the end of the world. But at least we seemed out of the terrorist loop.

Turns out we were evidently living in a fool’s paradise. We were otherwise preoccupied with the pleasures and challenges of everyday life. On the day of the mosque killings, tens of thousands of school kids marched in 40 demonstrations across New Zealand, demanding action on climate change. It was a wonderfully liberating sight, something meaningful and urgent, colorful and good-humored. They carried terrific signs and banners. Social media posted numerous photos from the marches. There was a cracking one of a bearded old geezer called John Geiser, in the North Island town of Masterton, watching the demonstration go by while holding a sign of his own. It read: WELL DONE YOUNG PEOPLE.

Well done, John, I thought. I retweeted it, with a comment: “Hey good on him! Great guy — respect. NZ is being a great NZ today.” That went up at about 11 a.m. The first reports of the mosque attacks started coming in about two hours later. NZ, suddenly, sickeningly, was being a horrifying NZ.

Correction:

An earlier version of this article misstated what event took place on Oct 6, 1769. On that day, Capt. James Cook sighted New Zealand; it was not the day of his landing, which occurred two days later.

The article also misstated the timing of a tweet by the author before the Christchurch mosque attacks. The tweet was sent out at 11 a.m., not 11 p.m.