because the uk also knew that hitler was trying to buy time and eventually either capture and secure the whole of europe or even invade the uk again in the future. for the uk national socialism as well as communism were not compatible political ideologies that they could tolerate being the dominant force on the european mainland that is so close to them. if needed the uk would have flipflopped at any opportune moment, that's just how it is.
Germany