You have different rights depending on how you lose your job.
How you lost your job is important in deciding if you can get unemployment benefits.