Why should I deregister jquery?

Linking jquery code twice conflicts the functions as they are present twice. So deregistering helps you but it is not good choice. You should go through jQuery no conflict thing. And you should register your jquery version with different name, so that it does not break wordpress.

Ref- jQuery Forum and Documentation

error code: 523