Putting the bell peppers in the window after picking them is to allow them to finish the ripening process naturally under sunlight, which helps in shocking the plant into producing more fruit.