Why do dropdown menus have a space between the highlighted item and the border of the menu?

Why do dropdown menus have a space between the highlighted item and the border of the menu?

enter image description here enter image description here enter image description here

Why do dropdown menus have a space between the highlighted item and the border of the menu?