It's not as much bestiality as it is arresting gay service people having (anal presumably) sex in the military and

Basically with the repeal of Don't Ask, Don't Tell now they need a way to legally have sex with each other while in/on military institutions.

The bestiality is just an included point on the law but unfortunately to repeal only one of the points they have to repeal them all.