In organic SEO results, site links are auto generated based on the page and the internal linking structure.
Credits to Moz.com