Maybe try paying attention to the world. Hamas leaders travelled to Moscow after October 7th and met with Putin.
https://www.washingtoninstitute.org/policy-analysis/russias-...
There's also plenty of evidence they provided support to Hamas prior to the attack.
https://thehill.com/opinion/international/4250708-putins-fin...
https://carnegieendowment.org/russia-eurasia/politika/2023/1...
Israel was only cordial with Russia because they controlled Syria's airspace. With all of the Russian leadership's anti-Jewish rhetoric like calling Hitler a Jew, supporting Iran and Hamas, etc..., they're not exactly best friends...