If you want to research this topic on the Internet, the following terminology may be useful to you:
To leave the word "that" out in a sentence is called that-omission.
As far as I know, this happens in two particular instances, restrictive relative clauses and that-clauses (a type of...