Why it is often milder in areas such as coastal Maryland while areas such as Kansas or Iowa have more extremes in temperature?

1/2 of Kansas and Iowa are land locked and so are more prone to varying temperatures with widely changing pressure systems. 2/2 Maryland is milder due to the incoming sea winds which keep the temperatures more in check.