hello friend ,thanks for sharing your concern ,
as per the clinical presentation of your friends ailment it seems she is having buccal space infection
..it can be due acute exaberation of a chronic dental caries
..red color with pain with localized raise in temperature is definite that there is inflammation...hence visit a dentist
have a thorough dental check up ,if needed go for radiograph and confirm the diagnosis and treat the infection ...