もとでした
motodeshita

Noun
Desu Copula

The polite past form of

1. Was the reason.; Was due to.

Past/Perfective
Polite
Buddhism