Why was great Britain willing to go to war over Poland but not over Czechoslovakia?

Because the Sudetenland in Czechoslovakia was legally given to germany. Whereas Poland was taken by force.