Removal of dedicated server functionality in favour of matchmaking was always going to be a horrible, horrible idea. And this is honestly the least of its negative consequences. Even before that there was the requirement of multiplayer servers to be set up through 'official channels' of various sorts, which has this same problem because those are still platforms with maintenance costs that companies will eventually cut.
It's the same platforms vs protocols issue that the fediverse is addressing, just in a different sphere of the internet.
Excuse me sir, but Bad Company 2 is one of the greatest FPS games of the last 20 years. Honestly stellar gameplay and multiplayer and the building mechanics are amazing. Still looks good too considering its age.
This is gonna be a sad day. Bad Company 2 was fucking great. Hopefully the community can come together to keep it online like they do with Titanfall 2.