Ya, it does seem like this might not be necessary since the three tds are each set to a width of 4rem and the th appears to automatically take up the rest of the space by default. But I haven’t tested it completely so I could be wrong and it may need to be there for a very specific reason.
Because you want it to take up all the remaining available space. So if the three tds take up 4rem each then that is a total of 12rem and thus the th should take up 100% of the space minus the 12rems that the three tds occupy.