Why would one have that effect but not the other? They’re identical as far as I can see; and you even use the same distribution channels for pirating them.
I don’t have any data... but I suspect that music piracy was more widespread and displacing more sales of music. Anecdotally, I do not recall the publishing industry crying “the sky is falling” over ebook piracy while the music industry certainly was.