Why does the slug work in a page URL, but not the ID?

Photo of author
Written By Tom McFarlin
A2 Hosting
Elementor
GoDaddy
Gravity Forms
Pagely
WordPress.com