Why did Ant-Man go to jail in the first movie?

Why did Ant-Man go to jail in the first movie?

Desperate to provide for his family, but unable to make ends meet, electronics genius Scott Lang turned to burglary and inadvertently won himself a prison sentence.

See also  Is a negative PE ratio good?