Using the mechano-optical stress sensor technique, we observe a counter-intuitive reduction of the compressive stress when InAs is deposited on GaAs (001) during the growth of quantum posts. Through modelling of the strain fields, we find that such anomalous behaviour can be related to the strain-driven detachment of In atoms from the crystal and their surface diffusion towards the self-assembled nanostructures