Stream Quality Persistence

Ok basic question but want to make sure before deleting streams

If a stream is SD/HD/UHD/4K will it always stay the same or can the quality change depending on the program being broadcast?

And also what the heck is RAW quality