The sanctions were passed with a veto-proof majority because of Russian election interference in 2016. They followed sanctions passed in 2012 for human rights violations, called the Magnitsky Act.
Trump later lifted sanctions on firms connected to Russian oligarchs.
ABC News – Timeline of Trump’s delays on Russia sanctions
Reuters – Trump administration holds off on new Russia sanctions, despite law
Wikipedia – Magnitsky Act