Because of the ability download. It raises special attack if the opponent has higher defense and vice-versa for attack. That is basically the only reason. Also, someone could hack shedinja to have a lot of HP :P.
Also, remember that a Pokemon is a Pokemon. They all have different characteristics, meaning they have stats. Shedinja gets its stats the same way any other Pokemon does. It is there characteristics.