I checked both. The confusion comes from KOTS:
"The gelatinous cube can move up to 3 squares, entering enemies' spaces. When it enters a creature's space, it makes an attack against that creature."
Both the MM and KOTS say, "An engulfed creature is pulled into the gelatinous cube's space and...