It's because your top piece of geometry is an n-gon (number of edges for the face is greater than 4). You need to either fix the geometry by making the number of edges less, or by triangulating your surface; however this makes it more difficult to modify later.
Imagination is more important than knowledge.