Railroads own the track. States put up and maintain the crossing equipment.
And just where did you hear about “complaints”?
Residents, leaders have pushed for upgrades at Amtrak crash site, but no action
Commissioners expressed concerns to state about Missouri train crossing early as 2019
AP and their hearsay again? Never mind the other source saying that the state DOT got no complaints about the crossing. The only alleged danger was a steep incline approaching the tracks and nothing related to crossing protection; a reckless dumptruck driver would ignore warning lights and crossing gates just as much as stop signs and crossbucks.
The railroad is at liberty to completely close the crossing. Perhaps the state should tunnel under the rails, certainly if the road incline is a problem.