You bay tree is likely to be infested with scale insects and the wasps are attracted to feedin off the honey dew exuded by the scale insects.
If you spray with a garden insecticide to control the scale insects, the wasps food supply will be taken away.