A man is behind bars after police say he was cooking drugs when something went wrong causing an explosion.