Because it is a potentially useful thing that it <<does on a raw pointer. This is safe, and this is what raw pointers do, and is shared_ptrintended to be used to replace the original pointers in some situations.
, >> . , .
some_stream >> raw_ptr, - ptr, . , .
shared_ptr . , , , .