Steven W. answered 07/30/19
Physics Ph.D., college instructor (calc- and algebra-based)
From a Newtonian point of view, this follows from the same reason gravity, the weakest of the fundamental forces, controls the movement in the universe: it is only attractive (unlike electric forces, which can either attract or repel), and it acts over long ranges (unlike the nuclear forces). Electric forces COULD do what you stated, but most material is electrically neutral, so you would have to first create a static electric charge on a lot of it, which would take a great amount of effort (and the removed charges could not just vanish, either).
Gravity attracts objects together naturally, and, with enough self-gravitating mass, can create the conditions where a black hole could form.
It is a good thing most material is electrically neutral, too, or we would constantly have to hold ourselves apart from being attracted or repelled by material around us.