What you observed is so within the normal range of HN's functioning that there's a FAQ entry dedicated to it:
Q: Why is A ranked below B even though A has more points and is newer?
A: You can't derive rank from votes and time alone. See "How are stories ranked?" above.
https://news.ycombinator.com/newsfaq.htmlIn this case, the post dropped in rank because of user flags.