The word BOO
Well the saying BOO to scare has been around for many many years.
The oldest record in the OED for the modern spelling of boo is found in the writing of two 18th-century Scots—Gilbert Crokatt and John Monroe, who said it was “used in the north of Scotland to frighten crying children.” It has since spread far and wide.