Because according to this paragraph from wikipedia....
In British law, a commoner is someone who is neither the Sovereign nor a peer. Therefore, any member of the Royal Family who is not a peer, such as Prince Harry of Wales or Anne, Princess Royal, is (technically) a commoner, as is any member...