This sounds like a gross generalization of cyclists—I hope everyone’s friends aren’t this petty! I’ve gone on plenty of rides on an e-bike/not on an e-bike with folks doing the opposite and have never felt ostracized or made others feel ostracized.
As other commenters posted, it gets even more people out on the paths who wouldn’t normally be able to keep up or might feel self-conscious, and I think that’s a really positive thing.
I must admit I don't interact with all kinds of cyclists. My circle of cyclists are the ones who like indoor cycling as much as going outdoors, and they almost always have a power meter and like to challenge themselves for power PRs, and they tend to be Strava Premium users.
As other commenters posted, it gets even more people out on the paths who wouldn’t normally be able to keep up or might feel self-conscious, and I think that’s a really positive thing.