Yes, it's Safari, but only the aspects of instead of opening a new tab, it shows me a list of recently closed ones, and when I hit the back arrow, it does the same, shows a menu of previous tabs I'd been on, and sometimes even does that when I try to open and app from the Dock! It will show a drop-down menu, of either open tabs, or emails, or other relevant aspects to whatever the app is. It's pretty crazy, I hover over the new tab button, it says "New Tab", but when I click it, the menu pops open of previously opened ones! As I said, it can take me anywhere from three to ten clicks before finally a new tab opens!
I've run MalwareBytes on my system, and just did again now, and it shows nothing. I've run EtreCheck before, but I'll run it now, and see if it picks up anything. Now, Safari has always been rather jinky when it's used with Facebook, for years. It just won't work right, sometimes threads don't open, or pictures, etc. With this last update, 18.1.1, it works with FB as best it ever has, except for the constant opening all kinds of things I don't want. I'll click an emoji, but the person's name will pop up, who's comment is underneath!
Sometimes it'll open their Messenger, as if I want to message them, sometimes it shows I requested friending them, neither of which I did. It will sometimes open someone's profile page, taking me completely off the of the window I was in, and trying to respond to someone's post. It's maddening.... Now why Apple's own browser has always been one the buggiest of all that I've used, I have no idea, as it shouldn't be, at all! I only cautiously try using it, after new updates, hoping some of it's quirks have been addressed...