This is typical for court cases. Even if a party may have little to do with what’s going on trial, if they’re a relevant party in any way they can get sucked in and be forced to give a deposition. It’s totally possible to “plead the 5th” here, but the rationale here is all the relevant facts to a case have to be brought to light in order to make an informed judgment.