どういうわけか
Meanings
1
usually written using kana alone
Expresses that something happens or is the case without a clear reason; often used when the speaker finds the situation puzzling or unexpected.
For some reason, the train is empty today.
Somehow, he suddenly got angry.