Why are non-homogenous poisson processes not independent?
Let $ N (t)$ be a non-homogeneous Poisson process with intensity $\lambda t$, t > 0. Find the joint density of the first two sojourn times, and deduce that they are not in general independent.
Since you haven't shown your own thoughts on this question, I can only give you hints.
Since you are given an intensity function, use it to compute explicitly the distribution of the number of events at time $t$. Then use this information to find the distribution of the first event time, and then the second event time. Then compute the joint density of the first two event times, and show it is not equal to the product of the marginal densities.