“Toy Story 4” star Tim Allen on comedy and tragedy