The scope is different
robots.txt works at the site/path level, while meta robots operates on the page itself.
That difference changes when and how each tool should be used.
- robots.txt: path-level crawl guidance
- meta robots: page-level indexing guidance