An apparent bug in iOS 15 is causing Apple Music to force itself back into your home screen dock, even if you’ve previously deleted the app from your device. This means that if you delete Apple Music from your iPhone and re-download it from the App Store, the app will automatically go back in your dock and replace whatever app was previously there.
Update: Apple has confirmed to 9to5Mac that this is a bug and it is investigating.