Surface tension is due to