In Alabama and many other states, if the police ask you to identify yourself while they are investigating, and you refuse, they will put you in handcuffs for the safety of police while they continue to investigate. In this case, the police were investigating a report of an unknown person on a neighbors property, so the non-compliance furfher raised suspicion.
The police acted appropriately and legally.
The non-compliant man and his race-profiling lawyer, the abuse of the courts where no police misconduct exists and and this racist and misleading report of events are the only misbehaviors. Such bad behavior is common and should be condemned by all decent people.