Don't know that it was designed to distract us but it is a distraction. As I understand it (and I haven't bothered to read too much background) the SNP intended to use the vote to embarrass the Labour Party, Starmer headed this off, The Tories found themselves in a difficult position and responded by 'walking out' and now they and the SNP are trying to regain the upper hand by forcing The Speaker to resign and throwing shade on Starmer.
Fortunately, although the subject of the vote is a serious issue, the political games being played by all the parties has absolutely no impact on real life. What the whole thing highlights is that we need a general election as soon as possible so that whoever is in government can get back to doing their fucking job.