Click the little arrow to the right of a task title to open/collapse its subtasks.
How to collapse/open multiple tasks
You can also collapse/show the subtasks of all the tasks in the day view by holding shift and clicking the arrow on one of the tasks.