Is SO3 an ion or a molecule?
I'll give you the structures. Then you'll understand everything:

Resonance structures of $\ce{SO3^{2-}}$ ion:



Structure of Sulfur Trioxide:



The absence of a double bond between two oxygen atoms in sulfite ion shows why it is bivalent.