The attack came just two days after President Biden gave Ukraine permission to use long-range U.S.-made weapons to strike targets inside Russia.