Pogroms were murderous rampages, they were massive massacres especially of Jews, they were often used by the Russian government to distract Russians from either their poor living conditions where they either din't have enough food or they just don't have enough job opportunities.
So they allowed people to release their anger and hostility toward Jews.