A stub-out is a short section of pipe that extends from a wall or floor for future connection.
It sets up future work. Incorrect placement means rework and delays.
Plumbing plans
Utility layouts
Fixture details