Police members respond to the site of a mass shooting at the Tree of Life Synagogue in the Squirrel Hill neighborhood on Oct. 27, 2018 in Pittsburgh, Penn.

Musicians are expressing their shock and deep sorrows on social media over a deadly shooting that took place in a Pittsburg synagogue Saturday (Oct. 27).

A shooter opened fire Saturday during a baby naming ceremony at the Tree of Life Congregation, killing several people and wounding six others, the Associated Press. Police say they have a suspect -- identified as Robert Bowers -- in custody.

Artists like Niall Horan, Butch Walker, Bette Midler, Mary Lambert, Sara Bareilles and many others took to Twitter after the shooting to express their thoughts and prayers to the victims.

"Oh, Pittsburgh. My heart hurts for you and the Jewish community. Too much hate and devision in this country right now... I’m not a 'thoughts and prayers' kinda guy but I’d pray to anyone’s God to have this not be such a common occurrence in America," Walker wrote.

Others expressed their frustration with President Trump, who made controversial comments to reporters following the tragedy. "If they had protection inside the results would have been far better," the president said. "Maybe it could have been a very much different situation."

Horan reacted with comments of his own about gun control. "Trump kept saying in his chat with reporters that if there was an armed guard inside the synagogue that the 'numbers' would have been a lot lower. The fact is if there was no guns at all, there wouldn’t have been a shooter in the first place. Get a grip," the singer Tweeted.

See more reactions from artists below.

Can’t stop crying this morning. A shooter attacked a synagogue while they were celebrating a baby. Bombs sent in the mail. repeated memos with trans erasure as the insidious goal. And then, Rallies?? No empathy? No stillness? No breath inward? Ever? — Mary Lambert (@marylambertsing) October 27, 2018

Trump kept saying in his chat with reporters that if there was an armed guard inside the synagogue that the “numbers” would have been a lot lower . The fact is if there was no guns at all , there wouldn’t have been a shooter in the first place. Get a grip — Niall Horan (@NiallOfficial) October 27, 2018

Oh, Pittsburgh. My heart hurts for you and the Jewish community. Too much hate and devision in this country right now... I’m not a “thoughts and prayers” kinda guy but I’d pray to anyone’s God to have this not be such a common occurrence in America. -- — Butch Walker (@butchwalker) October 27, 2018

pittsburgh -- — ac (@alessiacara) October 27, 2018

To the families of those who died in the synagogue shooting in Pittsburgh, my deepest and sincere sympathies. This horror is escalating day by day. If only we had LEADERSHIP that would actually take steps to stop it. — Bette Midler (@BetteMidler) October 27, 2018

is this asshole saying if there had been an armed guard inside the temple.... — lalah hathaway (@lalahhathaway) October 27, 2018

As an American I am disgusted. As a Jew I am heartbroken and angry. — Diane Warren (@Diane_Warren) October 27, 2018

Landed in America and the news never ceases to break my heart. I am so sorry and angry that this happened. #TreeOfLifeSynagogue — Sara Bareilles (@SaraBareilles) October 27, 2018

Donald Trump has brought out the worst in the worst people. — Kathy Griffin (@kathygriffin) October 26, 2018

Horrified by the news out of Pittsburgh and heartbroken for the victims and their families. What are we as a nation if even our very places of worship are rendered killing grounds? — George Takei (@GeorgeTakei) October 27, 2018

Oh Pittsburgh -- — Garbage (@garbage) October 27, 2018

My heart is broken for Pittsburgh and for the grieving Jewish community there. Words matter. Hate speech, dog whistling at our highest levels...it results in real consequences. This is a great tragedy. *another* great tragedy. — josh groban (@joshgroban) October 27, 2018