It's pure politics. Covid is running rampant in Australia at the moment and the people are fed up with the government. By denying Djokovic entry the federal government is hoping to shift some of the anger towards the Victorian state government which invited him to come in the first place. It may also help shift attention away from the actual Covid situation.