Of course they didn’t. The delta-v needed to land the rockets is better expended in pushing the craft further. Reusable rockets isn’t always the best choice.
This is a good point - in the space shuttle era, the SRBs were recovered, refurbished and re-flown. The boosters flown on Artemis 1 and 2 are now lost. There are only enough space shuttle era parts to fly another seven SLS rockets and the current plan to replace them with new hardware is still on-going.
I could not find out exactly why the SRBs of SLS are not worth recovering. If anyone knows why, that would be interesting to find out.
Then you're probably concerned about the Falcon creating easy launches for mass numbers of satellites and the extra carbon footprint that new industry has. NASA here barely compares to the output of that of falcon.