The "crime" of breaking sanctions against Iran, which happened after the US left JCPOA to reinstate said sanctions against Iran.
Which was a very convenient way to manufacture the "formalities" to arrest the Huawei CFO.
Not only did they know they weren't allowed to sell telecom equipment to Iran, they intentionally tried to do so while hiding it.
Don't pretend this was a secret post facto play by the US to strike at China. It wasn't.