The outcome of the weekend’s European Union elections threatened a fresh stage of political instability in the bloc, with results in many countries signaling disillusion with the establishment and polarization among voters.

Britons delivered stunning blows to the U.K.’s two main political parties, coalition governments in Italy and Germany faced deepening strains and other countries called early elections.

As...