Eruptive variables are stars that experience sudden increases in luminosity because of flares or mass ejection events . This group includes protostars , Wolf @-@ Rayet stars , and flare stars , as well as giant and supergiant stars .