I voted to close when it came up in the queue (which means somebody put it there).  Your question was off-topic for the reasons given.  There was nothing 'random' about it.  While it may seem like a whimsical process, closure is a serious matter and requires an impressive reputation hurdle in order to participate.

The question you give for comparative purposes was also off-topic, but it had upvotes and an upvoted answer before it could be closed by the reviewers.  Your question had down votes and this also made it amenable to closure.

You still need to hear from 4 more reviewers though.