You can always make a new subtask for a task by hitting
tab or dragging the task to be under the parent.
For existing tasks, you can also add, change, or remove a parent task directly from a task in 3 different ways:
Parent taskattribute in the attributes section that is editable
right-click context menu on a task: Edit →
Edit parent task