That is actually called projection in psychology. It’s a psychological defence mechanism where one throws unacceptable behaviour onto someone else so one doesn’t have to deal with it. Gaslighting comes from that play/movie. I suppose the two terms could overlap.
Gas lightning is a form of propaganda where false and artificially created perceptions are passed off as reality. It has nothing to do with projection.