Matter/Thread lights do not connect after wifi change

I put in about 15 lights. Then had an issue with the network. Originally I had them on an IOT SSID and now I have everything on 1 SSID and removed that one.

Now only some of the lights are controllable in the app and some are controllable in Alexa. They were all set up the same way, so it is confusing as to why this is happening. Seems pretty flakey, but hoping there is a simple change.

Any thoughts?