Controversy over AB Hernandez’s participation in girls sports included rule changes, federal investigations and online threats to the state of California by President Donald Trump.