command + tab or clicking on any app in dock opens all windows of that application command  + tab or clicking on any app in dock opens all windows of that application (except those which are minimised)

I started experiencing this recently, around 2 weeks back

Earlier, if I pressed command + tab click on any app icon in the doc, it would only open the latest active window of that application. But now, it opens all the windows of that app and bring all windows to front.

Is this behaviour expected?

If I'm working with two application Chrome and Finder and I've 5 finder windows opened. It's very frustrating if I Command + Tab and want to go to the latest finder window as it opens all windows and not just the latest one
cmd-Tab in macOS always works like this. It switches apps instead of windows, and all non-minimized windows of the app in current desktop will popup.

alt-Tab in MS Windows switches windows.

Personally I like the behavior of MS Windows. If you want this behavior, you might check something like HyperSwitch.