President Donald Trump’s sweeping immigration order signed late Friday caused an uproar among the tech elite over the weekend.

The executive order bars people from seven primarily Muslim countries — including Iran, Iraq, Libya, Somalia, Sudan, Syria, and Yemen — from entering the US for at least 90 days. (On Sunday, though, the Trump administration said green card holders from those countries wouldn’t be barred from entry.)

View photos The chief executives, investors and entrepreneurs Yahoo Finance spoke to over the weekend expressed either surprise or disgust at President Trump’s most recent executive order, which spurred protests across the country over the weekend. Source: AP Photo/Elaine Thompson More

The chief executives, investors and entrepreneurs Yahoo Finance spoke to over the weekend expressed either surprise or disgust at Trump’s latest moves.

“I fundamentally think it’s a disastrous idea and policy, between the moral ramifications and the moral issues around it, which is blocking refugees of countries that, in some cases, are dealing with some pretty significant atrocities, is a huge moral failing of the country,” Aaron Levie, chief executive of Box (BOX) told Yahoo Finance, cautioning there would be major consequences to blocking off the country from large populations of people.

View photos Brit + Co CEO and founder Brit Morin. Source: Fortune Live Media More

Brit Morin, CEO of the Do-It-Yourself-oriented lifestyle startup Brit + Co in San Francisco, contended her business — and Silicon Valley overall — will be significantly influenced in the months and years to come as Trump pursues a “protectionist” philosophy that favors “America First” and ignores the important contributions immigrants can make to the US economy, particularly to tech.

“The effect this will have on innovation and our competitive advantage aside, the pain that others in our community and their families are facing is heartbreaking,” Morin told Yahoo Finance. “So many of the greatest companies in the US were built by descendants of immigrants — Apple, Facebook, Google, etc. If we start restricting the influx of different cultures and new ideas on any level, it will have a negative impact on our growth as a society. Diversity makes us stronger.”

For other tech entrepreneurs, the immigration ban struck on a more personal level. That’s not exactly a surprise, given roughly 50% of the country’s “unicorns” — private companies with $1 billion-plus valuations — have at least one immigrant founder at the helm, according to a report last March from the National Foundation For American Policy.

“My family and I, and thousands of Soviet Jews like us, came here as refugees in 1991, running from an unjust regime that persecuted us simply for who we were,” recalled Max Levchin, PayPal (PYPL) co-founder and CEO of the credit startup Affirm. “As a nation of immigrants, we must not close our doors to refugees, and those willing to contribute to America’s success.”

View photos PayPal co-founder and Affirm CEO Max Levchin. Source: Getty Images More

Adrian Aoun, chief executive of the healthcare startup Forward, echoed Levchin.

“As a French-Lebanese immigrant, I wouldn’t be here without the open-arms of fellow Americans,” Aoun said. “My work at Wavii, Google and now Forward has been done hand in hand with Muslims and immigrants from across the world. People are not their religions or their countries, they’re our brothers and sisters. Together we are stronger.”