The law makes logical sense in this case.
Theft is when there's one of something and you take it.
Copyright infringement is when there's one of something and you make a copy without consent. So now there's 2 of something.
In the first scenario someone had the thing taken away from them. In the second scenario they didn't. They're different actions requiring a different set of laws around what is and isn't permitted. It's not a "one size fits all" scenario. The rules for theft do not adequately cover the intricacies of copyright infringement.
You'll be happy to know you generally get far more severely penalised financially for copyright infringement than you do for mere theft. Usually because you can make millions of copies, with a penalty for each, while you can only real steal the one single thing and get penalties on just that thing.
Again, I want to be absolutely clear here because you seem to be struggling with this: BOTH of these things are illegal. Both have penalties. Nobody is "defending" piracy here as though it's legal. It's not.