I think that's because the Russians often use gerunds when translating such constructions into English. Like "он заскучал читая книгу" - he got bored while reading a book. Or "написав письмо, он...