He said himself in his press conference today that his doctors all told him it was commotio cordis
You can listen for yourself. Go to 1:45
https://www.audacy.com/wgr550/sports/bills/damar-hamlin-i-plan-on-making-a-comeback-to-the-nfl