When you get a RTransform object and get the x,y,z and w from it. The call alters the source values. So when you call model.LocalTransform().R().X() the first time you get a certain value. When you call it again in the next row (in the same tick) you get another value.
Tested via visual studio code and you can see the source variables change to the left.