How did Hamas manage to amass so much wealth and military capability?

Featured in Deutsche Welle