Those aren't examples of the media gaslighting people. Those are about the CDC and FDA saying they aren't effective (or not proven effective). You're conflating the media with scientific advisory boards -- and notably those under Trump's own watch at the time.
Media gas lighting would be if the CDC/FDA/etc said that Ivermectin was effective and the media saying it wasn't or not reporting on it.