The Stripe plugin registers the REST API endpoints when the rest_api_init action is triggered and the plugin recognizes that the request is for the Stripe plugin. This is done for performance reasons to prevent endpoint loads when it’s a regular page load compared to a REST request.
This makes the plugin faster.
Newer versions of the plugin rely on a WC ajax request that wraps an internal rest request. Here is a link to that code: