Rejection because the paper is too specialised
You can send it elsewhere. What you can't do is force a journal to publish your paper. The time isn't especially significant. A year or so would be a problem.
But reviewers have other tasks in their workflow. I doubt that it was forgotten generally, but some reviewer might have been busy/sick/whatever.
There may even have been some discussion about the paper, not making the decision an easy one.