What to choose for null hypothesis and alternate hypothesis?

In this article which explains types of t-tests, for “Independent Two-Sample t-test”, null hypothesis was that the average screen size of the sample does not differ from 10 cm. and alternate hypothesis is that the average screen size differs. And also the data is only about sizes of screens.

Not just this example, in every article I have read, I always think that why can’t the statement chosen for alternate hypothesis be chosen for null hypothesis or vice versa. Also the data won’t have much information. It’s always upto the article writer to what to choose for null and alternate hypothesis.

So, my question is, are there some set of rules, that have to be followed to choose a statement for hypothesis. Or what actually causes in particular statement to be chosen for hypothesis. Or am I missing something.

Quoting wikipedia,

The null hypothesis is generally assumed to be true until evidence indicates otherwise (similar to the case that a defendant of a jury trial is presumed innocent until guilty)

This is analogous to the legal principle of presumption of innocence, in which a suspect or defendant is assumed to be innocent (null is not rejected) until proven guilty (null is rejected) beyond a reasonable doubt (to a statistically significant degree).

Kindly give this a read.

© Copyright 2013-2019 Analytics Vidhya