Chances are the banana bread was not completely cooled when it was cut. Be sure to let it cool completely on a cooling rack before slicing it. Doing this allows the bread to set instead of being a crumbly mess when you cut into it.