Random may not be the right word, I had one removed that was within the rules which I’m crystal clear on. It is not the first time.
If your post was removed but within the rules, then it was removed in error. Mistakes happen. If you contact the moderators your post will be restored. I have found the moderators here to be very reasonable and thoughtful.