The earliest records of competitive stone throwing trace back to the Scottish Highlands , in competitions that gradually evolved into the Highland Games ; a tournament that greatly influenced Pierre de Coubertin when he was reviving the modern Olympics in 1896 .