When does giving a gift to a friend of the other gender cross the line from platonic to intimate?

For example if a guy were to give a female friend something like earrings would that be crossing a line?

When does giving a gift to a friend of the other gender cross the line from platonic to intimate?
Post Opinion