They were not aware of ALL the side effects when it started, just as they were not sure how serious the virus was. They knew that the virulence had been augmented by Fauci's financing against U.S. law by funneling the money through a private entity and the "research" was done in China so there was little scientific oversight. They knew that mRNA vaccines require weakening the immune system, as it was discovered in the original research that the weakening must be done or the body will destroy the vaccine. The original researchers (looking into it as gene therapy for Cystic Fibrosis, I think) deemed that to be too big a risk to take with the patient's immunity and the gene therapy research was discontinued. When Big Pharma saw the possibility of no-liability massive profits however, they threw caution to the wind and took the risk with other people's lives.
@Mary Stetler the "conventional" vaccines were probably safer but less effective against the original strain, but all the vaccines were "leaky" and corona viruses are very adept at mutation, so the single-site vaccines require multiple "boosters" (actually they are new vaccines) as the vaccines only target one antigen while naturally acquired immunity developed by exposure to the virus itself, usually target multiple antigen sites so it is less subject to losing efficacy due to mutation. Acquiring the disease is often or usually more risky than getting the vaccine but is more durable. Nobody wants to get smallpox in order to develop immunity for example, The vaccine is much better.