What does swiping a task horizontally should do?

That depends of the list’s tasks order.
If your tasks order is manual, swiping a task right will sub-task the task and swiping left will do the opposite.
If your tasks order is any other than manual, swiping a task will show a delete button allowing you to quickly delete the task in place.

Feedback and Knowledge Base