Hello Rex,
This is depends on how config in your IDE or linker file, for example MCUXpresso IDE, when do NOT enable "Plain load image",
it will flash XIP.

You can open the demos "hello world" and "hello world xip" under SDK to check the difference.
BR
Alice