[Object tracking]Why the object does not rotate along the Z axis

I’m trying to animate head through object tracking, but got some problems
But head doesn’t moving as i want.

I would be very grateful if you tell me what I’m doing wrong

You could try track more points so blender has more data to work with? Also getting a tracking marker on the tip of the nose will definatley help as it will give blender more depth to work out

But now looking a but more closer at the rig you may an issue with that as it doesnt look like its letting you rotate properly. M

Did you manage to solve your rigging/tracking issues? M

Answer was very simple i just changed bones rotation mode to Quaternion and now everything works fine!