Music streaming platforms use ads to generate revenue and support the artists and creators who provide the content. If you want to remove ads, you should consider buying the premium package of the platform you are using.