BNO086 Roll Drift

I use the bno086 and sparkfun bno08x library. I need yaw and roll values. However, when I move the imu on the yaw axis, the roll value also changes and returns to its old value after 4-5 seconds. Why might something like this happen?