Usually I'm let go because they don't need the additional help, or that they reverted to a different tech stack and prefer hiring someone already familiar with it instead of giving me time to learn it. Plus it's easier for a company to let go a contractor than to fire an employee.