For some reason, Google indexes the robots.txt file for some of our sites and displays them in the search results. See screenshots below.
Our robots.txt file is not linked from any point on the site and contains only the following:
User-agent: * Crawl-delay: 5
This only happens for some websites. Why is this happening and how do we stop it?
Screenshot 1: Google search console
Screenshot 2: Google search results