No it isn’t. If you have Google maps open and suddenly decide you want to go to McDonald’s, then sure, that voice command should go to Google Maps. But if you make a voice command to send an email to someone, it shouldn’t open Gmail instead of your default mail app just because Google maps is open.
Similarly, if you’re watching a video on YouTube and want to search for a cat video, sure, the voice command should search in YouTube. But if you want to listen to music and have Spotify set as your default music app, it shouldn’t send the request to YouTube Music just because YouTube is open.