I learned recently that those types of stories are called BSS or Boku wa Saki ni Suki datta meaning "I loved her first." It's like an NTR sub genre where instead of cheating it's about how the MC's crush is taken away from him by someone else who's more proactive.