Height and Width indicator at cursor switched when resizing a box.
When I go to resize a box, the height and width indicators at the cursor are switched.
The rectangle you are scaling is probably rotated 90 degrees, and how has the width oriented along the Y-axis.
See, rectangles are drawn as live shapes when created in versions after 2014, and they remember their widths and heights independently from the size of their bounding boxes (which can differ a lot if a shape is rotated to an arbitrary angle).
This is somewhat confusing... but your own height does not get smaller if you lay down, isn’t it?
To solve this, you can convert your live rectangle into a path and then immediately convert it back t a rectangle again (Object > Shape > Expand Shape / Convert to Shape) — this will effectively reset the rotation to a 'normal' way.