Based on the scenario, this best describes that Ryan is performing self-handicapping. Self-handicapping is being defined as a way of how people avoids effort in means of having to prevent themselves from hurting their self-esteem, this is also considered to be a cognitive strategy.