Can someone tell why it's happening?

Should the pipes be firmly connected? Even if, I guess it would not help with this much turbulence

When valve on the toilet is ~60% opened, it shakes constantly