When setting up an assignment there is a red warning at the bottom of the page including: As teacher you must add these
Elements before making the assignment available to students. This is done by
clicking on the assignment in the course, if no elements are present you will be asked
to add them.
I think this must be from the times when Moodle sent the teacher back to the course page after setup rather than directly to the activity.