Weird SPI read behaviour

How does correlate with the actual Ambiq SDK version? I think the latest Ambiq SDK is 2.5.1.