This is true. They didn’t want to cause a mad rush for N95s and other medical masks, because they knew medical professionals needed them more. Because then as soon as they recommended the masks, there was a huge shortage.
But some people took the changing recommendation as some kind of conspiracy, that the government is just making it all up.