Although not common, flights do get cancelled for a number of reasons. Mostly these are for the safety of passengers. The airline is responsible for your passage. They will rebook you on the next available flight or may even book you on an alternate airline if that is more suitable. Flight cancellations are always difficult to manage and resolution can take airline staff some time.