stats_sf can't find geometry aesthetics

Your code is complex and not quite easy to troubleshoot; it might be a good idea to reframe the issue you are facing in as simple format as possible. What you share is quite a chunk...

For a simple example of spatial data frame animated via {gganimate} consider this post; it builds on the pressure dataset that is shipped with base R and the North Carolina shapefile that comes with {sf}.