OAK CREEK, Wis. — The worshipers, hundreds of them, had gathered Sunday for the afternoon meal in the vast, bright dining hall at the Sikh Temple of Wisconsin, just as they do every Sunday.

But before long, the happy din of the congregants was interrupted by a grim bulletin from Texas. People pushed away their plates of cauliflower and rice as the horrific news chirped across their cellphones. A gunman in a house of God. Multiple fatalities. Multiple injuries.

The Sikh temple was 1,300 miles and worlds away from the First Baptist Church in Sutherland Springs, Tex. But at the temple, where a mass shooting left six dead five years ago, it felt sickeningly familiar, as it had at congregations in South Carolina and Tennessee and New York, places on the grim list of religious congregations that have become victims of gun violence. As different as they are, they share both a tragic past and a continuing struggle to move beyond it.