How are 'sticky ends' formed on a DNA strand? why are they so called?

Restriction enzymes cut the strands of the DNA, a little away from the centre of the palindromic sites, but between the same two bases on opposite strands.
They form hydrogen bonds with their complementary cut counterparts.