Failure to accommodate is a form of disability discrimination. The two claims are related because the failure to accommodate often leads to an adverse action such as demotion, termination, or hostile work environment because of your disability.