Change default Site Members Edit rights back to Contribute
There is a fundamental flaw in the permissions model in modern SharePoint team sites and Microsoft Teams. Site Members have been given Edit rights which allows them to delete or edit apps on the site. That is the role of the Site Owner. The Site Members must be given Contribute rights, (like it was in SharePoint 2010).