Unraveling the interplay of gravity and surface tension in driving waves on water’s surface