If it were dependent on previous results, then it wouldn't be random - is what Marth was saying.
If you roll a die, you have a 1 in 6 chance of rolling a 4. With every roll, it's still a 1 in 6 chance. It's entirely possible, and still completely random at the same time, to roll a 4 five times in a row.