Another way to view it is in terms of energy. A molecule in contact with a neighbor is in a lower state of energy than if it were alone (not in contact with a neighbor). The interior molecules have as many neighbors as they can possibly have, but the boundary molecules are missing neighbors (compared to interior molecules). So, the boundary molecules have a higher energy. For the liquid to minimize its energy state, the number of higher energy boundary molecules must be minimized. The minimized quantity of boundary molecules results in a minimized surface area.