Flip flops do not provide adequate grip or support for driving, which can be dangerous. This is especially true in wet or icy conditions.
In the UK, it is a legal requirement to wear shoes that are sturdy and have a closed toe when driving. Flip flops do not meet these requirements.